package ch03.singlcton;

import ch03.entity.News;
import org.apache.log4j.Logger;

/**
 * @auth 邝志豪
 * @date 2024/1/6 11:52
 */
public class NewsDaoMySqlImpl implements NewsDao{
    private Logger logger = Logger.getLogger(NewsDaoMySqlImpl.class);
    @Override
    public void save(News news) {
        logger.debug("保存新闻信息到数据库");
        logger.debug(news);
    }
}
